package cn.qinhao.pethome.system.mapper;

import cn.qinhao.pethome.system.domain.Role;
import cn.qinhao.pethome.basic.base.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qinhao
 * @since 2023-03-04
 */
@Repository
public interface RoleMapper extends BaseMapper<Role> {
    void batchAddRoleMenu(Role role);
   void delRoleMenu(Long id);
    void batchAddRolePermission(Role role);
    void delRolePermission(Long id);
}
